package com.bestcem.xm.user.mq.message.group;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.*;

import java.io.Serializable;

/**
 * 组织名称变更发送消息
 *
 * @author qiongyu.cui <qiongyu.cui@idiaoyan.com>
 * @version v1.0
 * @date 2022/2/11 14:42
 */
@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class ChangeGroupCodeMessage implements Serializable {

    private static final long serialVersionUID = -6858753437569503982L;

    /**
     * 租户id
     */
    @JsonProperty("org_id")
    @JSONField(name = "org_id")
    private String orgId;
    /**
     * 组织id
     */
    @JsonProperty("grp_id")
    @JSONField(name = "grp_id")
    private String groupId;
    /**
     * 旧
     */
    @JsonProperty("old_code")
    @JSONField(name = "old_code")
    private String oldCode;
    /**
     * 新
     */
    @JsonProperty("new_code")
    @JSONField(name = "new_code")
    private String newCode;

    private boolean storecodeModify;
}
